let env = ''
let Version = 'V5.12.0'
// env = process.env.NODE_ENV === 'development' ? 'test' : 'test' 
env = process.env.NODE_ENV === 'development' ? 'prod' : 'prod';
// 当前环境
const configs = {
  test: {
    server: 'https://userapp.legendmall.cn',
    
    photoServer: 'https://legendshop-saas-test.oss-cn-shenzhen.aliyuncs.com/', // 图片服务器地址
	url: 'https://userapp.legendmall.cn',
    staticServer: 'https://legendshop-saas-front.oss-cn-shenzhen.aliyuncs.com/miniprogram/',
    txAmpKey: 'N64BZ-LKJ6J-VN3FT-F436L-DE5UV-GAFSH', //腾讯地图定位应用key：请到  https://lbs.qq.com/  里注册一个key
    //客服服务器地址
    imServer: 'wss://userapp.legendmall.cn',
    //不需要改动的url(不需要token认证)
    excludeURIs: ['/login', '/smsLogin', '/reg'],
    StorageVconsole: 'vConsole', //微信调式工具的key名字
	Version: Version,
	shopId: '2', //测试店铺2 测试店铺6
  },
  prod: {
    server: 'https://vueapp.legendshop.cn',
    photoServer: 'https://images.legendshop.cn/', // 图片服务器地址
	url: 'https://vueapp.legendshop.cn',
    staticServer: 'https://images.legendshop.cn/miniprogram/',
    txAmpKey: 'N64BZ-LKJ6J-VN3FT-F436L-DE5UV-GAFSH', //腾讯地图定位应用key：请到  https://lbs.qq.com/  里注册一个key
    //客服服务器地址
    imServer: 'wss://vueapp.legendshop.cn',
    //不需要改动的url(不需要token认证)
    excludeURIs: ['/login', '/smsLogin', '/reg'],
    StorageVconsole: 'vConsole', //微信调式工具的key名字
	Version: Version,
	shopId: '6557', //3136 4142 7593
  },
};

const config = configs[env];

export default config;

